<extend name="Public/base" />

<block name="body"> <script type="text/javascript"
	src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>

<div class="main-title">
	<h2>{:isset($info['id'])?'编辑':'新增'}公告</h2>
</div>
<div class="tab-wrap">
	<form action="__SELF__" method="post" class="form-horizontal">
		<div class="form-item">
			<label class="item-label">标题<span class="check-tips">（不能为空）</span></label>
			<div class="controls">
				<input type="text" class="text input-large" name="title" value="{$info.title}">
			</div>
		</div>
		<div class="form-item">
	     	<label class="item-label">内容</label>
	     	<div class="controls">
	     		<label class="textarea">
	     			<textarea name="content" placeholder="内容">{$info.content}</textarea>
	     			{:hook('adminArticleEdit', array('name'=>'content','value'=>$info['content']))}
	     		</label>
	     	</div>
	    </div>
		<div class="form-item">
			<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">保存</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
</div>
</block>
<block name="script">
 <script type="text/javascript" charset="utf-8">
	//导航高亮
	highlight_subnav('{:U('Notice/index')}');
</script> </block>
